package com.example.base.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author X.I.O
 * @since 2024-02-21
 */

@Data
@ApiModel(description = "")
public class SysTableColumnVo implements Serializable {

    private static final long serialVersionUID = 1L;

        /**
    * 主键id
    */
    @ApiModelProperty(value = "主键id")
    private Integer id;
    /**
    * 表id
    */
    @ApiModelProperty(value = "表id")
    private Integer tableId;
    /**
    * 列名
    */
    @ApiModelProperty(value = "列名")
    private String tableColumnName;
    /**
    * 字段
    */
    @NotBlank(message = "字段不得为空")
    @ApiModelProperty(value = "字段")
    private String tableColumn;
    /**
    * 字段长度
    */
    @ApiModelProperty(value = "字段长度")
    private Integer tableColumnLength;

    @ApiModelProperty("字段排序")
    private Boolean tableSortable;

    @ApiModelProperty("字段固定")
    private Boolean tableFixed;

    @ApiModelProperty("字段隐藏")
    private Boolean tableHide;

}
